package neo4j.entity;


import deepr.anno.*;

@Schema(name = "Device", type = SchemaType.NEO4J)
public class Device {

  @Property(primaryKey = true)
  private String id;

  @Property
  private String name;

  @Property(name = "room", schema = Room.class, forProperty = "at")
  private Room room;

  @RelationProperty(schema = At.class, point = Type.OUT, forProperty = "room")
  private At at;

}
